package com.itheima.controller;

import com.itheima.exception.ExceptionDemo;
import org.springframework.web.bind.annotation.RequestMapping;

public class ExceptionController {
    private ExceptionDemo exceptionDemo = new ExceptionDemo();

    @RequestMapping("/test1")
    public void test1() throws ExceptionDemo.MyException {
        exceptionDemo.show1();
    }
}
